<html>
<head><meta charset="utf-8"><title>CI failure · t-cargo · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/index.html">t-cargo</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/CI.20failure.html">CI failure</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="239647730"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/CI%20failure/near/239647730" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/CI.20failure.html#239647730">(May 20 2021 at 19:39)</a>:</h4>
<p><span class="user-mention" data-user-id="116015">@Alex Crichton</span> Cargo's CI is failing on nightly windows GNU.  I dug into it a bit, and bisected the failure is caused by <a href="https://github.com/rust-lang/rust/issues/84876">#84876</a>.   The failure is that thin-LTO doesn't work with <code>--test</code>.</p>
<p>A simple reproduction is with an empty file <code>foo.rs</code>, run <code>rustc --test -Clto=thin foo.rs</code></p>



<a name="239647866"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/CI%20failure/near/239647866" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Alex Crichton <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/CI.20failure.html#239647866">(May 20 2021 at 19:40)</a>:</h4>
<p>whoops that probably should have been windows instead of msvc as the clause</p>



<a name="239647874"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/CI%20failure/near/239647874" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Alex Crichton <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/CI.20failure.html#239647874">(May 20 2021 at 19:40)</a>:</h4>
<p>how that landed is unclear</p>



<a name="239648160"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/CI%20failure/near/239648160" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Alex Crichton <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/CI.20failure.html#239648160">(May 20 2021 at 19:43)</a>:</h4>
<p><span class="user-mention" data-user-id="120518">@Eric Huss</span> do you have a link to the failure?</p>



<a name="239648411"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/CI%20failure/near/239648411" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Alex Crichton <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/CI.20failure.html#239648411">(May 20 2021 at 19:45)</a>:</h4>
<p>ah found one</p>



<a name="239648647"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/CI%20failure/near/239648647" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Alex Crichton <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/CI.20failure.html#239648647">(May 20 2021 at 19:47)</a>:</h4>
<p><a href="https://github.com/rust-lang/rust/pull/85521">https://github.com/rust-lang/rust/pull/85521</a></p>



<a name="239648856"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/CI%20failure/near/239648856" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/CI.20failure.html#239648856">(May 20 2021 at 19:48)</a>:</h4>
<p>yea, looks like you found it (sorry, am making lunch)</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>